using System;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace nms.gaming.rng.model
{
	[DataContract(Namespace="nms.gaming.rng", Name="numberset")]
	public class RandomNumberSet : INotifyPropertyChanging, INotifyPropertyChanged
	{

		[DataMember(Order=0, Name="index", IsRequired=true)]
		public int index
		{
			get;
			set;
		}

		[DataMember(Order=1, Name="numbers", IsRequired=true)]
		public RandomNumber[] values
		{
			get;
			set;
		}

		public RandomNumberSet(int index)
		{
			this.index = index;
		}

        public event PropertyChangingEventHandler PropertyChanging;
        public event PropertyChangedEventHandler PropertyChanged;
    }
}